package com.tjut.oop.hol4;

public class SalariedEmployee extends ColaEmployee {

	// 定义属性 ：月薪
	private double monthSalary;

	public SalariedEmployee(String staffNum, int staffBirthMonth, double monthSalary) {
		super(staffNum, staffBirthMonth);
		this.monthSalary = monthSalary;
	}

	public double getSalary(int month){
		return monthSalary+super.getSalary(month);
	}



}
